cmake_minimum_required(VERSION 3.20)
project(defect_depth)

set(CMAKE_CXX_STANDARD 14)
find_package(OpenCV REQUIRED)
#find_package(TinyTIFF REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
include_directories("/home/wsl/Cpp/eigen-eigen-323c052e1731")
include_directories(/home/wsl/Cpp/env/jsoncpp/include)
include_directories(/home/wsl/Cpp/Simd/src)
link_directories(/home/wsl/Cpp/Simd/prj/cmake/)
include_directories(include)
#include_directories(/home/wsl/Cpp/env/TinyTIFF/src)
add_executable(defect_depth src/defect_depth.cpp src/clipper.cpp main.cpp include/json_parser.h src/json_parser.cpp include/circle_detect.h src/circle_detect.cpp)
target_link_libraries(defect_depth ${OpenCV_LIBS})
target_link_libraries(defect_depth /home/wsl/Cpp/env/jsoncpp/build/lib/libjsoncpp.so)
target_link_libraries(defect_depth libSimd.a -lpthread)
#target_link_libraries(defect_depth TinyTIFF)